package examples.dao.user;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.wangduqing.ibatisdao.anotation.Arguments;
import org.wangduqing.ibatisdao.anotation.IbatisDao;
import org.wangduqing.ibatisdao.hibernate.IbatisDaoSupportHiber;



import examples.entity.user.User;

@IbatisDao
public interface UserDao extends IbatisDaoSupportHiber<User> {
	
	@SuppressWarnings("unchecked")
	@Arguments("parm_age")
	public List<Map> listUserByAge(Integer age);

	@Arguments({"name","age","birthday"})
	public void updateUserBirthday(String name,Integer age,Date birthday);
	
	String sle();
}
